package com.ruoyi.project.channel.investConfig.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 充值配置表 invest_config
 * 
 * @author CAIN
 * @date 2021-01-30
 */
public class InvestConfig extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long investId;
	/** 金额 */
	private BigDecimal amount;
	/** 有效时间 */
	private Integer effectiveDay;
	/** 折扣 */
	private BigDecimal rate;
	/** 状态 */
	private String useStatus;

	public void setInvestId(Long investId) 
	{
		this.investId = investId;
	}

	public Long getInvestId() 
	{
		return investId;
	}
	public void setAmount(BigDecimal amount) 
	{
		this.amount = amount;
	}

	public BigDecimal getAmount() 
	{
		return amount;
	}
	public void setEffectiveDay(Integer effectiveDay) 
	{
		this.effectiveDay = effectiveDay;
	}

	public Integer getEffectiveDay() 
	{
		return effectiveDay;
	}
	public void setRate(BigDecimal rate) 
	{
		this.rate = rate;
	}

	public BigDecimal getRate() 
	{
		return rate;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("investId", getInvestId())
            .append("amount", getAmount())
            .append("effectiveDay", getEffectiveDay())
            .append("rate", getRate())
            .append("useStatus", getUseStatus())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
